package com.SouthernWall_404.age_tool.common.API.NBT;

import net.minecraft.resources.ResourceLocation;

public class MusicBlockInfo {


    public ResourceLocation musicLocation;
    public int radius;
    public float volumn;
    public MusicBlockInfo() {

        this.musicLocation=new ResourceLocation("");
        this.radius=0;
        this.volumn=0;
    }

    public boolean is(MusicBlockInfo musicBlockInfo)
    {
        boolean ans=true;
        if(!musicBlockInfo.musicLocation.equals(this.musicLocation))
        {
            ans=false;
        }
        if(musicBlockInfo.radius!=this.radius)
        {
            ans=false;
        }
        if(musicBlockInfo.volumn!=this.volumn)
        {
            ans=false;
        }
        return ans;
    }


}
